package com.daniel.design.pattern.decorator;

/**
 * @ClassName FriedRice
 * @Description 炒饭类（具体构件类角色）
 * @Author Daniel
 * @Version V1.0.0
 */
public class FriedRice extends FastFood {

    public FriedRice() {
        super(10, "炒饭");
    }

    @Override
    public double cost() {
        return getPrice();
    }
}
